function [ P ] = prepareP( n )
%PREPAREP Summary of this function goes here
%   Detailed explanation goes here

P = zeros(n*2+1, n);
i1 = [1 : n*2+3 : n*n*2+n, 3 : n*2+3 : n*n*2+n];
i2 = 2 : n*2+3 : n*n*2+n;
P(i1) = 0.5;
P(i2) = 1;

end

